package com.yuantu.judiciary.model.form;

import com.yuantu.judiciary.model.enums.AccountState;
import com.yuantu.judiciary.model.enums.OrganizationType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 注册表单
 *
 * @author syw
 * @since 2023-08-08
 **/
@Data
@ApiModel("注册表单")
public class RegisterForm {
    @ApiModelProperty("组织id")
    private Long id;

    @ApiModelProperty("组织类型")
    private OrganizationType type;

    @ApiModelProperty("姓名")
    private String username;
    @ApiModelProperty("身份证号")
    private String idNumber;
    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("营业执照")
    private String license;
    @ApiModelProperty("企业名称")
    private String enterName;
    @ApiModelProperty("企业地址")
    private String enterAddr;
    @ApiModelProperty("纳税人识别号")
    private String taxpayerCode;
    @ApiModelProperty("信用代码")
    private String creditCode;

    @ApiModelProperty("邀请码")
    private String inviteCode;

    @ApiModelProperty("授权文件")
    private String authFile;

    private Boolean needPerAuthFile;

    private Boolean needEntAuthFile;

    private String perAuthFile;

    private String entAuthFile;

    private AccountState accountState;

    /**
     * 二要素认证状态 ture成功 false失败
     */
    private Boolean twoFactorAuthState;

}
